$OpenBSD: patch-texmf-dist_scripts_bibexport_bibexport_sh,v 1.2 2015/05/18 21:38:04 edd Exp $
--- texmf-dist/scripts/bibexport/bibexport.sh.origy	Tue Mar 12 00:01:41 2013
+++ texmf-dist/scripts/bibexport/bibexport.sh	Fri Jan  2 16:38:02 2015
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 ##
 ## This is file `bibexport.sh',
 ## generated with the docstrip utility.
@@ -256,7 +256,7 @@ FINALFILE=${OUTPUT};
 if [ ! "${FINALFILE}" ]; then
     FINALFILE="bibexport.bib";
 fi
-TMPFILE="bibexp.`date +%s`";
+TMPFILE="`mktemp bibexp.XXXXXXXX`";
 if [ -z "${EXT}" ]; then ## we export all entries
     if [ -z "${EXTRA}" ]; then ## we have no extra files
         cat > ${TMPFILE}.aux <<EOF
